﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="AssignSiteStep1.aspx.cs" Inherits="PCMSofCC.Admin.AssignSiteStep1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
    <link href="../css/content.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="server">
    <div id="container" class="container">
        <table style="margin:auto;">
            <tr>
                <td valign=top; style="padding:40px;">
                    选择检察员：<br />
                    <asp:ListBox ID="lbxUsers" CssClass="listBox" runat="server" DataSourceID="SqlDataSource1"
                        DataTextField="UserName" DataValueField="UserId" AutoPostBack="True" OnSelectedIndexChanged="lbxUsers_SelectedIndexChanged">
                    </asp:ListBox>
                </td>
                <td valign=top; style="padding:40px;">
                    提交日期：
                    <asp:Literal ID="litSubmitDate" runat="server"></asp:Literal>
                    <br />
                    <asp:Calendar ID="Calendar1" runat="server" BackColor="#FFFFCC" BorderColor="#FFCC66"
                        BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
                        ForeColor="#663399" Height="200px" ShowGridLines="True" ShowNextPrevMonth="False"
                        Width="220px" OnDayRender="Calendar1_DayRender" OnSelectionChanged="Calendar1_SelectionChanged">
                        <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                        <SelectorStyle BackColor="#FFCC66" />
                        <OtherMonthDayStyle ForeColor="#CC9966" />
                        <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                        <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                        <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
                    </asp:Calendar>
                    <br />
                    <asp:Button ID="btnSelect" runat="server" OnClick="btnSelect_Click" Text="选择" CssClass="button2"
                        PostBackUrl="~/Admin/AssignSiteStep2.aspx" Enabled="False" />
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString1 %>"
                        SelectCommand="SELECT [UserId], [UserName] FROM [vw_aspnet_Users]"></asp:SqlDataSource>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
